package com.bolt.auth.admin.api.sys.entity;

import com.bolt.support.spring.jpa.entity.BaseNativeAuditingEntity;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.*;

/**
 * Auto Generate Javadoc
 *
 * @author 日期:2020-10-23 17:16:08
 *         数据字典
 **/
@Access(AccessType.FIELD)
@Entity
@Table(name = "sys_dict")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class DictEntity extends BaseNativeAuditingEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 字典名称
     */
    @Column(name = "name", length = 255)
    private String name;

    /**
     * 描述
     */
    @Column(name = "description", length = 255)
    private String description;



}